﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Castle.MicroKernel.Registration;
using Castle.MicroKernel.SubSystems.Configuration;
using Castle.Windsor;
using Test.Diploma.UI.Web.MVC.Controllers;

namespace Test.Diploma.UI.Web.MVC.Code.WindsorInstallers
{
    public class ControllerInstaller : IWindsorInstaller
    {
        public void Install(IWindsorContainer container, IConfigurationStore store)
        {
            container.Register(
                Component.For<HomeController>().LifeStyle.Transient
                );  
        }
    }
}